

#import "BaseWebViewController.h"
#import "AppDelegate.h"
#import <WebKit/WebKit.h>


@interface BaseWebViewController ()<WKUIDelegate,WKNavigationDelegate>
@property (nonatomic , strong) WKWebView *webView;

@end

@implementation BaseWebViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.navigationItem.title = self.navTitle;
    
    self.webView = [[WKWebView alloc] initWithFrame:CGRectMake(0, 0, YYScreenWidth(), YYScreenHeight() - X_NAV(64))];

    self.webView.UIDelegate = self;
    self.webView.navigationDelegate = self;
    
  
       NSURLRequest *request = [NSURLRequest requestWithURL:self.urlStr];
         [self.webView loadRequest:request];
    
}



@end
